package com.woniu.car.client;

import com.woniu.car.common.ResponseEntity;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;

/**
 * @Author chestnuts tlx
 * @create 2021/7/1 21:24
 */
@FeignClient("userService1")
public interface UserClient {

    @GetMapping("user/UserInfo/selectUserInfoByUserId")
    @ApiOperation("根据编号删除索引信息")
    public ResponseEntity selectUserInfoByUserId(@RequestParam("userId") Integer userId);
}
